Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 add documentation to CMake find-package support #806

Merged
merged 3 commits into from
Aug 15, 2022

Conversation

guylevy84
Copy link
Contributor

This PR adds documentation in README.md to CMake find-package support (#645)

Copy link
Member

@COM8 COM8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR! Only one minor thing and we are ready to do.

README.md Outdated
Comment on lines 107 to 108
$ make -j
$ sudo make install
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the CMake way of doing this, which is platform independent:

Suggested change
$ make -j
$ sudo make install
$ cmake --build .
$ sudo cmake --build . --target install

guylevy84 and others added 2 commits August 15, 2022 10:26
Co-authored-by: Fabian Sauter <[email protected]>
CMake version >= 3.15
@guylevy84
Copy link
Contributor Author

@COM8, since CMake version >= 3.15 we can do sudo cmake --install . instead of sudo cmake --build . --target install

@guylevy84 guylevy84 requested a review from COM8 August 15, 2022 07:51
Copy link
Member

@COM8 COM8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Thanks!

@COM8 COM8 merged commit 94f77ec into libcpr:master Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants